<?php

namespace Kangcg\Application\EventSource;

use Kangcg\Application\Component;

class EchoHandler
{
    public function __invoke($chunk)
    {
        echo $chunk;
        ob_flush();
        flush();
    }
}
